<!DOCTYPE html>
<html>
<head>
	<link rel='stylesheet' type='text/css' href="<?php echo base_url(); ?>/css2/styles.css" />
	<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>
</head>
<body>

	<?php
    class menus
    {
        function show_menu() 
        {
				
            $obj =& get_instance();
            $obj->load->helper('url');
            $menu = "<ul>";
			
                      
            $menu .= "<li class='has-sub'>";
            $menu .= anchor("GSD_admin/user_view","Users");
			
							$menu .="<ul>";
							  $menu .= "<li class='has-sub'><a href='http://localhost/GSD/GSD_admin/user_add'><span>Add User</span></a></li>";
							  
							  $menu .= "<li class='has-sub'><a href='http://localhost/GSD/GSD_admin/user_view'><span>View Users</span></a></li>";
							 $menu .="</ul>";
            $menu .= "</li>";
            
				   $menu .= "<li class='has-sub'>";
				   $menu .= anchor("Club_ctrl/club_view","Clubs");
				   
							$menu .="<ul>";
							  $menu .= "<li class='has-sub'><a href='http://localhost/GSD/club_ctrl/add_club'><span>Add Club</span></a></li>";
							  $menu .= "<li class='has-sub'><a href='http://localhost/GSD/Club_ctrl/club_view'><span>View Clubs</span></a></li>";
							 $menu .="</ul>";
				   $menu .= "</li>";
		   
            $menu .= "<li>";
            $menu .= anchor("GSD_admin/tournaments","Tournaments");
            $menu .= "</li>";
			
            $menu .= "<li>";
            $menu .= anchor("GSD_admin/home","Events");
            $menu .= "</li>";
			$menu .= "<li>";


         return $menu;
        }
    }
?>

</body>
</html>